package com.umpay.privi.common;



import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Provider
{
	public static void main(String[] args) throws Exception
	{
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] { "dubbo-provider-hessian.xml"});
		context.start();
//		System.out.println("dubbo启动成功...");
//		System.in.read(); //为保证服务一直开着，利用输入流的阻塞来模拟
		com.alibaba.dubbo.container.Main.main(args);

	}
}
 